package com.huawang.mdesign.model.service.vo;

import com.fasterxml.jackson.annotation.JsonIgnore;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

@Data
public class DiagramTableTreeVo {

    @Schema(title = "模型Id")
    private String instanceId;

    @Schema(title = "模型名称")
    private String name;

    @Schema(title = "图标")
    private String icon;

    @Schema(title = "子节点信息")
    private List<DiagramTableTreeVo> children;

    @Schema(title = "当前节点是否有子节点")
    private boolean isExistChildNode;

    @JsonIgnore
    private String number;

    @Schema(title = "父节点id")
    private String parentId;
}
